package com.liangxiao.wifichat.adapter;
import android.widget.*;
import java.util.*;
import com.liangxiao.wifichat.model.*;
import android.view.*;
import android.content.*;
import com.liangxiao.wifichat.R;
public class ScanResultAdapter extends BaseAdapter
{
	private List<ChatRoom> list = new ArrayList<>();

	private LayoutInflater mInflate;
	public ScanResultAdapter(Context context){
		mInflate = LayoutInflater.from(context);
		
	}
	@Override
	public Object getItem(int p1)
	{
		// TODO: Implement this method
		return list.get(p1);
	}

	@Override
	public int getCount()
	{
		// TODO: Implement this method
		return list.size();
	}

	@Override
	public long getItemId(int p1)
	{
		// TODO: Implement this method
		return p1;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent)
	{
		// TODO: Implement this method
		if(convertView==null){
			convertView = mInflate.inflate(R.layout.scan_result_item,parent,false);
		}
		return null;
	}

	

	
	

	

	
	
}
